<?php

declare(strict_types=1);

namespace App\Model;



/**
 * @property int $id ID
 * @property int $userid 用户ID
 * @property int $room_id 房间ID
 * @property int $deal_type 处理方式 1-限流 2-警告 3-临时封禁 4-永久封禁
 * @property int $deal_time 处理时间
 * @property string $deal_reason 处理原因
 * @property int $start_time 开始时间
 * @property int $end_time 结束时间 -1-永久
 */
class LivePunish extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'live_punish';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'userid', 'room_id', 'deal_type', 'deal_time', 'deal_reason', 'start_time', 'end_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'userid' => 'integer', 'room_id' => 'integer', 'deal_type' => 'integer', 'deal_time' => 'integer', 'start_time' => 'integer', 'end_time' => 'integer'];
}
